Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2012 03:10:40 -0700
From:      perryh@pluto.rain.com
To:        bonomi@mail.r-bonomi.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: fsck on FAT32 filesystem?
Message-ID:  <500d2320.f8bzaFvCSay0b7rK%perryh@pluto.rain.com>
In-Reply-To: <201207222012.q6MKCxPe025704@mail.r-bonomi.com>
References:  <201207222012.q6MKCxPe025704@mail.r-bonomi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Bonomi <bonomi@mail.r-bonomi.com> wrote:

> MSDOS/PCDOS had -no- O/S functions to directly access actual disk
> devices.  The ONLY fuctionality provided to the user, by the "O/S"
> was filesystem based access.  To get 'raw' device access, one had 
> to bypass the O/S entirely, and use direct BIOS calls (INT 13h).

FALSE TO FACT.

MSDOS/PCDOS had no _documented_ functions to directly access the
disks, bypassing the file system, but the functions _did_ exist.
The debugger's "read sector" and "write sector" commands used them,
and I suspect chkdsk, scandisk, and format probably also used them
although I never had occasion to verify one way or the other.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500d2320.f8bzaFvCSay0b7rK%perryh>